package com.yanwq.nwc;

import io.netty.channel.Channel;

/**
 * Created by yanweiqiang on 2017/2/24 0024.
 */
public class MessageSender {
    private static Channel channel;

    public static void init(Channel channel) {
        MessageSender.channel = channel;
    }

    public static void send(String msg) {
        channel.writeAndFlush(msg);
    }
}
